import Vue from 'vue'
import Router from 'vue-router'
import Login from '@/views/Login'
import Home from '@/views/Home'
import Staff from '@/views/staff/Staff'//员工-员工管理

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Login',
      component: Login
    },
    {
      path: '/Home',
      name: 'Home',
      component: Home,
      children: [
        { path: '/Staff', component: Staff, name: 'Staff', hidden: true },//统计-业务报表
      ]
    },
  ]
})
